package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 广告信息对象 ads_msg
 *
 * @author shawu
 * @date 2024-08-15
 */
public class AdsMsg extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 广告唯一标识符
 */
    private Long adId;

    /** 广告标题
 */
    @Excel(name = "广告标题 ")
    private String adTitle;

    /** 广告内容
 */
    @Excel(name = "广告内容 ")
    private String adContent;

    /** 广告类型
 */
    @Excel(name = "广告类型 ")
    private String adType;

    /** 广告开始时间
 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "广告开始时间 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 广告结束时间
 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "广告结束时间 ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 广告状态
 */
    @Excel(name = "广告状态 ")
    private String status;

    public void setAdId(Long adId)
    {
        this.adId = adId;
    }

    public Long getAdId()
    {
        return adId;
    }
    public void setAdTitle(String adTitle)
    {
        this.adTitle = adTitle;
    }

    public String getAdTitle()
    {
        return adTitle;
    }
    public void setAdContent(String adContent)
    {
        this.adContent = adContent;
    }

    public String getAdContent()
    {
        return adContent;
    }
    public void setAdType(String adType)
    {
        this.adType = adType;
    }

    public String getAdType()
    {
        return adType;
    }
    public void setStartDate(Date startDate)
    {
        this.startDate = startDate;
    }

    public Date getStartDate()
    {
        return startDate;
    }
    public void setEndDate(Date endDate)
    {
        this.endDate = endDate;
    }

    public Date getEndDate()
    {
        return endDate;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("adId", getAdId())
            .append("adTitle", getAdTitle())
            .append("adContent", getAdContent())
            .append("adType", getAdType())
            .append("startDate", getStartDate())
            .append("endDate", getEndDate())
            .append("status", getStatus())
            .toString();
    }
}
